import request from '../util/request'

/* 获取所有的城市 */
export function getCities(params){
  return request({
    method: 'get',
    url: 'v1/cities',
    params
  })
}

/* 搜索地址*/
export function searchAddress(params){
  return request({
    method: 'get',
    url: 'v1/pois',
    params
  })
}